package com.hy.myapp.Entity;

public class Emp {
	private long id;
	private String name;
	private int age;
	
	public Emp(long id,String name,int age) {
		this.id=id;
		this.name=name;
		this.age=age;
	}
	
	public Emp() {
		this(-1,null,-1);
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
}
